package com.ruoyi.zhgd.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目标段编号信息业务对象 zj_sys_project_number
 *
 * @author tll
 * @date 2024-03-13
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ZjSysProjectNumberBo extends BaseEntity {

    /**
     * 主键ID
     */
    @NotNull(message = "主键ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 所属公司ID
     */
    @NotNull(message = "所属公司ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long deptId;

    /**
     * 项目ID
     */
    @NotNull(message = "项目ID不能为空", groups = { EditGroup.class })
    private Long projectId;

    /**
     * 项目编号
     */
    @NotBlank(message = "项目编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String projectNumber;

    /**
     * 标段编号
     */
    @NotBlank(message = "标段编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sectionNumber;

    /**
     * 项目名称
     */
    @NotBlank(message = "项目名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String projectName;

    /**
     * 标段名称
     */
    @NotBlank(message = "标段名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sectionName;

    /**
     * 是否与系统实际组织机构一致(0一致1不一致)
     */
    private Integer status;


}
